
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main()
{
	int a = 10;
	int k1 = a++ + a++ + a;
	//10+10+10=30
	//	12
	int k2 = ++a + ++a + a;
	//14+14+14=42
	//14
	int k3 = ++a + a++ + a;
	//15+15+15=45
	//	16
	int k4 = a++ + ++a + a;
	//17+17+17=51
	printf("%d\n",k1);
	printf("%d\n",k2);
	printf("%d\n",k3);
	printf("%d\n",k4);
	return 0;
}